﻿@{
    ViewBag.Title = "Zaloguj się";
    Layout = "~/Views/Shared/_Layout.cshtml";

	string returnUrl = ViewBag.ReturnUrl ?? string.Empty;
}
<h2>Zaloguj się</h2>

@using (Html.BeginForm("LogOn", "Home", FormMethod.Post))
{
	@Html.AntiForgeryToken()
	@Html.Hidden("returnUrl", returnUrl)
	<div>
		<div>Login: @Html.TextBox("UserName", "", new { @class="span2" })</div>
		<div>Hasło: @Html.Password("Password", "", new { @class = "span2" })</div>
		<div>@Html.SubmitButton("LogOn", "Zaloguj", new { @class = "btn btn-small btn-primary" }) </div>
	</div>
}